package com.team2.outpatient_sys.service;

import com.team2.outpatient_sys.pojo.Prescription;
import com.team2.outpatient_sys.pojo.PrescriptionAndName;

import java.util.List;

public interface PrescriptionService {

    public int add(Prescription prescription);

    public List<Prescription> findAllPrescription();

    public List<Prescription> findByPage(Integer currentPage,Integer pageSize);

    List<PrescriptionAndName> getAndDoctorNamePatientName();

    List<PrescriptionAndName> getAndDoctorNamePatientNameByPage(Integer currentPage, Integer pageSize);
}
